set color of text for jlabel

79

set color of text for jlabel -

JLabel title = new JLabel("Want a Raise?", JLabel.CENTER);
title.setForeground(Color.white);

Comments

Submit
0 Comments